package com.warm.base.design.c_factory.abstracted;


import com.warm.base.design.c_factory.ConcreteProductA1;
import com.warm.base.design.c_factory.ConcreteProductB1;
import com.warm.base.design.c_factory.ProductA;
import com.warm.base.design.c_factory.ProductB;

/**
 * @Date: 2019/11/28 14:26
 * @Author: LChuang
 * @Description:
 */
public class ProductA1B1Factory extends AbstractFactory {
    @Override
    public ProductA createProductA() {
        return new ConcreteProductA1();
    }

    @Override
    public ProductB createProductB() {
        return new ConcreteProductB1();
    }
}
